package cn.iocoder.yudao.module.jikong.controller.admin.jkProduct.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;

import java.time.LocalDateTime;
import java.util.*;
import javax.validation.constraints.*;

@Schema(description = "管理后台 - 疾控产品表新增/修改 Request VO")
@Data
public class JkProductSaveReqVO {

    @Schema(description = "id", requiredMode = Schema.RequiredMode.REQUIRED, example = "28845")
    private Long id;

    @Schema(description = "样本产品id", example = "11740")
    private String productId;

    @Schema(description = "样本产品名称", requiredMode = Schema.RequiredMode.REQUIRED, example = "李四")
    @NotEmpty(message = "样本产品名称不能为空")
    private String name;

    @Schema(description = "样本产品分类", example = "18107")
    private Long typeId;

    @Schema(description = "启用状态", example = "2")
    private Integer status;

    @Schema(description = "产品图片")
    private String picture;

    @Schema(description = "产品详情")
    private String detail;

    @Schema(description = "描述", example = "1")
    private String description;

    @Schema(description = "项目id", example = "1")
    private Integer projectId;

    @Schema(description = "规格id", example = "1")
    private Integer sizeId;

    private Integer resourceId;

    @Schema(description = "序列号")
    private String no;

    @Schema(description = "条形码")
    private String code;

    @Schema(description = "储存器皿")
    private String storageVessel;

    @Schema(description = "课题")
    private String researchTopic;

    @Schema(description = "菌种名称", example = "李四")
    private String strainName;

    @Schema(description = "病原名称", example = "芋艿")
    private String pathogenName;

    @Schema(description = "是否噬菌")
    private String bacteriophagy;

    @Schema(description = "保藏人")
    private String depositor;

    @Schema(description = "真实姓名", example = "张三")
    private String realName;

    @Schema(description = "年龄")
    private String age;

    @Schema(description = "身份证号")
    private String idNum;

    @Schema(description = "采样日期")
    private LocalDateTime samplingDate;

    @Schema(description = "病原级别")
    private String pathogenLevel;

    @Schema(description = "检测样本类型", example = "1")
    private String sampleType;

    @Schema(description = "检测结果")
    private String testResults;

    @Schema(description = "采样人")
    private String samplingPersonnel;

    @Schema(description = "检测人")
    private String inspector;

    @Schema(description = "检测日期")
    private LocalDateTime testDate;

    @Schema(description = "样本数据")
    private String productData;
}
